﻿// --------------------------------------------------------------------------------------------------------------------
// <copyright file="FileWatcherEventArgs.cs" company="TechBits">
//   Copyright (c) TechBits. All rights reserved.
// </copyright>
// <summary>
//   Defines the FileWatcherEventArgs type.
// </summary>
// --------------------------------------------------------------------------------------------------------------------

namespace IntelliShortCut.Data
{
    using System;

    /// <summary>
    /// FileWatcher event arguments.
    /// </summary>
    public class FileWatcherEventArgs : EventArgs
    {
        /// <summary>
        /// Initializes a new instance of the <see cref="FileWatcherEventArgs"/> class.
        /// </summary>
        public FileWatcherEventArgs()
        {
            NewData = string.Empty;
            FileName = string.Empty;
        }

        /// <summary>
        /// Initializes a new instance of the <see cref="FileWatcherEventArgs"/> class.
        /// </summary>
        /// <param name="logFileName">The log file name.</param>
        /// <param name="newData">The new data.</param>
        public FileWatcherEventArgs(string logFileName, string newData)
        {
            FileName = logFileName;
            NewData = newData;
        }

        /// <summary>
        /// Gets or sets FileName.
        /// </summary>
        public string FileName { get; set; }

        /// <summary>
        /// Gets or sets NewData.
        /// </summary>
        public string NewData { get; set; }
    }
}
